<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ include file="/common/include/page.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<title>修改个人信息 - 用户中心</title>
		<%@ include file="/common/include/title.jsp" %>
	</head>
	<body>
		<%-- 静态包含 --%>
		<%@ include file="/common/include/header.jsp" %>
		
		<div class="container-fluid">
			<div class="row">
				<div class="col-sm-8 col-sm-offset-1 main">
					<h2 class="sub-header">添加管理员</h2>
	
					<form id="form" class="form-horizontal" method="post"
						action="${pageContext.request.contextPath }/head/UsersBackServlet?method=usersInsertSubmit">
						
						<div class="form-group">
							<label for="email" class="col-sm-2 control-label">邮箱:</label>
							<div class="col-sm-8">
								<input type="text" id="email" name="email" value=""
									class="form-control" placeholder="邮箱">
							</div>
						</div>
						<div class="form-group">
							<label for="password" class="col-sm-2 control-label">密码:</label>
							<div class="col-sm-8">
								<input type="password" id="password" name="password" value=""
									class="form-control" placeholder="密码">
							</div>
						</div>
						<div class="form-group">
							<label for="confPassword" class="col-sm-2 control-label">确认密码:</label>
							<div class="col-sm-8">
								<input type="password" id="confPassword" name="confPassword" value=""
									class="form-control" placeholder="确认密码">
							</div>
						</div>
						<div class="form-group">
							<label for="email" class="col-sm-2 control-label">qq:</label>
							<div class="col-sm-8">
								<input type="text" id="qq" name="qq" value=""
									class="form-control" placeholder="qq">
							</div>
						</div>
						
						<div class="form-group">
							<label for="phone" class="col-sm-2 control-label">手机号:</label>
							<div class="col-sm-8">
								<input type="text" id="phone" name="phone" value=""
									class="form-control" placeholder="手机号">
							</div>
						</div>
						<div class="form-group">
							<label for="name" class="col-sm-2 control-label">name:</label>
							<div class="col-sm-8">
								<input type="text" id="name" name="name" value="${requestScope.admins.name }"
									class="form-control" placeholder="name">
							</div>
						</div>
						<div class="form-group">
							<label for="content" class="col-sm-2 control-label">内容:</label>
							<div class="col-sm-8">
								<input type="text" id="content" name="content" value=""
									class="form-control" placeholder="内容">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">性别:</label>
							<div class="col-sm-8">
								<input type="radio" name="sex" id="sex1" value="1" checked="checked">
								<label for="status1">男</label>
								<input type="radio" name="sex" id="sex2" value="2">
								<label for="status0">女</label>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">状态:</label>
							<div class="col-sm-8">
								<input type="radio" name="status" id="status1" value="1" checked="checked">
								<label for="status1">启用</label>
								<input type="radio" name="status" id="status0" value="0">
								<label for="status0">禁用</label>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-2">
								<button class="btn btn-lg btn-primary" type="submit">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	
	
		<!-- 提示信息 -->
		<div class="container">
			<div class="col-sm-8 col-sm-offset-1">
				${requestScope.info }
			</div>
		</div>
		<%-- 包含一下脚 --%>
		<%@ include file="/common/include/footer.jsp" %>	
	</body>
</html>